Platform Core .NET Assemblies API
Initialize(String,Action<IResourceManager>) Method
See Also  Send Feedback
Terrasoft.TestFramework Namespace > TestResourceManagerProvider Class > Initialize Method : Initialize(String,Action<IResourceManager>) Method
managerName
Name of the manager.
managerSetupAction
The manager setup action. Invoked using created resource manager mock.

Glossary Item Box

Creates TestResourceManagerProvider instance and registers it in Terrasoft.Common.GeneralResourceStorage as resource manager provider. Registers single resource manager mock for specified resource manager name.

Syntax

 
C#
 
 

Parameters

managerName
Name of the manager.
managerSetupAction
The manager setup action. Invoked using created resource manager mock.

Return Value

Instance.

Exceptions

ExceptionDescription
Terrasoft.Common.InvalidObjectStateExceptionPrevious instance is not disposed.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.